package com.ruoyi.sys.vehile.mapper;

import java.util.List;
import com.ruoyi.sys.vehile.domain.TbTemporaryPayment;

/**
 * 临停缴费Mapper接口
 *
 * @author ruoyi
 * @date 2022-05-24
 */
public interface TbTemporaryPaymentMapper
{
    /**
     * 查询临停缴费
     *
     * @param tpId 临停缴费主键
     * @return 临停缴费
     */
    public TbTemporaryPayment selectTbTemporaryPaymentByTpId(Long tpId);

    /**
     * 查询临停缴费列表
     *
     * @param tbTemporaryPayment 临停缴费
     * @return 临停缴费集合
     */
    public List<TbTemporaryPayment> selectTbTemporaryPaymentList(TbTemporaryPayment tbTemporaryPayment);

    /**
     * 新增临停缴费
     *
     * @param tbTemporaryPayment 临停缴费
     * @return 结果
     */
    public int insertTbTemporaryPayment(TbTemporaryPayment tbTemporaryPayment);

    /**
     * 修改临停缴费
     *
     * @param tbTemporaryPayment 临停缴费
     * @return 结果
     */
    public int updateTbTemporaryPayment(TbTemporaryPayment tbTemporaryPayment);

    /**
     * 删除临停缴费
     *
     * @param tpId 临停缴费主键
     * @return 结果
     */
    public int deleteTbTemporaryPaymentByTpId(Long tpId);

    /**
     * 批量删除临停缴费
     *
     * @param tpIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteTbTemporaryPaymentByTpIds(Long[] tpIds);
}
